<nav class="navbar navbar-inverse navbar-fixed-top" id='header'>
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav"
              aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#"><img alt="Brand" src="^^static_url/img/logo.png"></a>
    </div>

    <div class="collapse navbar-collapse" id="nav">
      <ul class="nav navbar-nav navbar-right">
        <li v-if="examination.length>0" class="examination-notice">
          <a href="#" @click.prevent='goExamination'>审批</a>
        </li>
        <!-- <li><img class="navbar-avatar" src="^^static_url/img/avatar.png" class="img-circle"></li> -->
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ sayHello }}, {{ loginName }} <span
            class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#" @click='quit($event)'>退出</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>